#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    connect(ui->commandLinkButton,SIGNAL(clicked()),this,SLOT(create_wid_slot_easy()));
    connect(ui->commandLinkButton_2,SIGNAL(clicked()),this,SLOT(create_wid_slot_medium()));
    connect(ui->commandLinkButton_3,SIGNAL(clicked()),this,SLOT(create_wid_slot_difficult()));
    connect(ui->commandLinkButton_4,SIGNAL(clicked()),this,SLOT(close()));
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::create_wid_slot_easy(void)
{
    fe.show();
}

void MainWindow::create_wid_slot_medium(void)
{
    fm.show();
}

void MainWindow::create_wid_slot_difficult(void)
{
    fd.show();
}

